﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using Omu.AwesomeWebForms;

namespace Omu.AwesomeWebFormsDemo
{
    public class Global : System.Web.HttpApplication
    {

        protected void Application_Start(object sender, EventArgs e)
        {
            //Settings.GetText = (n, k) =>
            //                           {
            //                           if (k == "OkText") return "Alege";
            //                           if (k == "CancelText") return "Anuleaza";
            //                           if (k == "SearchText") return "Cauta";
            //                           if (k == "MoreText") return "Mai multe rezultate";
            //                           if (n == "MultiLookup" && k == "Title")
            //                               return "Alegeti itemurile miscandu-le in partea de jos";
                                        
            //                           if (n == "Lookup" && k == "Title")
            //                               return "Alegeti un item";

            //                           return "";
            //                       };

        }

        protected void Session_Start(object sender, EventArgs e)
        {

        }

        protected void Application_BeginRequest(object sender, EventArgs e)
        {

        }

        protected void Application_AuthenticateRequest(object sender, EventArgs e)
        {

        }

        protected void Application_Error(object sender, EventArgs e)
        {

        }

        protected void Session_End(object sender, EventArgs e)
        {

        }

        protected void Application_End(object sender, EventArgs e)
        {

        }
    }
}